import { request } from '@umijs/max';
// 翻译
export async function textTranslate(params: API.Params = {}) {
    return request(`/common/textTranslate`, {
        method: 'GET',
        params: { ...params }
    });
}
